package puzzlegame.presentation;

import javax.microedition.lcdui.*;

public class MyPauseCanvas extends Canvas
{
	private Font font = Font.getFont(Font.FACE_PROPORTIONAL, Font.STYLE_BOLD,
			Font.SIZE_LARGE);

	public void paint(Graphics g)
	{
		// show the user a screen with "PAUSED" in the center
		g.setColor(0, 0, 0);
		g.fillRect(0, 0, getWidth(), getHeight());
		g.setColor(255, 255, 255);
		g.setFont(font);
		g.drawString("PAUSED", getWidth() / 2, getHeight() / 2, Graphics.TOP
				| Graphics.HCENTER);
	}
}